package com.codeberry.yws.example;

import com.codeberry.yws.FileContextHandler;
import com.codeberry.yws.YoctoWebServer;

import java.io.IOException;

public class AdditionalContextServer {
  public static void main(String[] args) throws IOException {
    YoctoWebServer server = new YoctoWebServer(8080, new FileContextHandler("", "./content"));
    server.putContext(new FileContextHandler("external", "./external"));    
    server.start();
  }
}